# -*- coding:utf-8 -*- #
##mysql1: store plugins informations
#mhost = '162.16.10.10'
#mport = 3306
#muser = 'ywuser'
#mpasswd = 'WG9jK46Nc5K5NZY4je0Z'
#mdb = 'gsywdb'

#mysql2: backup redis data
host = '162.16.10.10'
port = 3306
user = 'root'
passwd = '123456'
dbname = 'ywmonitor'


#redis
rhost = 'localhost'
rport = 6379
ruser = ''
rpasswd = ''


import os
ROOT = os.path.dirname(os.path.abspath(__file__))
logger_path = os.path.join(ROOT, 'server_logger')
